package com.eshore.common.service.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Service;

import com.eshore.common.service.IYmlService;

@Service
@PropertySource("classpath:application.yml") // 读取application.yml文件
public class YmlServiceImpl implements IYmlService {

	@Value("${tempPath.exportPath}")
	private String exportPath;

	@Override
	public String getExportPath() {
		return exportPath;
	}
}
